package com.lc.demo.bean;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "signin")
public class Signin   {

    @Id
    private Integer id;

    private String studentid;
    private Integer courseid;
    private String coursename;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone="GMT+8")
    private Date daytime;
    private Integer state;
    private Integer weekday;

}
